package mysql;

import java.sql.Connection;
import java.util.ArrayList;

public interface query {
	public int insert(Connection con, Object o);
	public ArrayList<Object> selectAll(Connection con);
	public Object selectById(Connection con, Object o); 
	public Object select(Connection con, int snum);
	public int update(Connection con, Object o);
	public int delete(Connection con, int num);
}
